use crate::{SYS_LOAD_MODULE, enter_syscall};

pub fn load_module(path: &str, args: Option<(usize, usize, usize, usize, usize, usize)>) {
    enter_syscall(
        path.as_ptr() as usize,
        path.len(),
        &args as *const Option<(usize, usize, usize, usize, usize, usize)> as usize,
        0,
        0,
        0,
        SYS_LOAD_MODULE,
    );
}
